Release 10.1A: OpenEdge Data Management:
SQL Reference
DROP TABLE
Deletes the specified table.
Syntax
owner_nameSpecifies the owner of the table.
table_nameNames the table to drop.
Example
Notes
- If owner_name is specified and is different from the name of the user executing the statement, then the user must have
DBAprivileges.- When a table is dropped, the indexes on the table and the privileges associated with the table are dropped automatically.
- Views dependent on the dropped table are not automatically dropped, but become invalid.
- If the table is part of another table's referential constraint (if the table is named in another table’s
REFERENCESclause), theDROP TABLEstatement fails. You mustDROPthe referring table first.Authorization
Must have
DBAprivilege or ownership of the table.Related statements
CREATE TABLE
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |